﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using InsuranceCompany.Core.Domain.Objects;

namespace InsuranceCompany.Helpers
{
    public class ObjectsCollection
    {
        public List<Entity> Items;

        private string Name;

        public ObjectsCollection(string name) 
        {
            this.Items = new List<Entity>();
            this.Name = name;
        }

        public ObjectsCollection(string name, List<Entity> objects) 
        {
            this.Name = name;
            this.Items = objects;
        }

        public string GetName() { return this.Name; }

    }
}
